import java.util.logging.Logger;

public class ehOMARListener extends PluginListener {
    public void onLogin(Player player) {
        if (player.getName().equals("ehushagen")) {
            broadcast("OMAR COMIN'");
            log.info("OMAR COMIN'");
        }
    }

    protected static final Logger log = Logger.getLogger("Minecraft");

    public void broadcast(String yell) {
        for (Player p : etc.getServer().getPlayerList()) {
            if (p != null) {
                p.sendMessage(Colors.LightPurple + yell);
            }
        }
    }

}
